#include <stdio.h>
int gv;
int main(void)
{
    int arr[10] = {0};
    // 数组名作为地址
    printf("address of arr[] is %p\n", arr);
    printf("address of &arr[0] is %p\n", &arr[0]);

    // 函数名作为地址
    printf("address of main is %p\n", main);
    // 全局变量地址
    printf("address of gv is %p\n", &gv);

    return 0;
}